package com.kaili.pojo.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.kaili.pojo.entity.HsEwbsStowageSub;
import com.kaili.pojo.entity.HsOptArrive;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @AUTHOR pengdongxu.
 * @Date: 18-5-14 下午2:37.
 * @COPYRIGHT 杭州凯立
 * 到件运单信息
 */
@Data
public class ArriveEwbVO {

    @ApiModelProperty("托运单号")
    private String ewbNo;
    @ApiModelProperty("开单时间")
    private Date ewbDate;
    @ApiModelProperty("发货人")
    private String sendMan;
    @ApiModelProperty("货物")
    private String goods;
    @ApiModelProperty("包装")
    private String packing;
    @ApiModelProperty("重量")
    private BigDecimal weight;
    @ApiModelProperty("体积")
    private BigDecimal vol;
    @ApiModelProperty("到货时间")
    private Date arriveTime;
    @ApiModelProperty("发往")
    private String sendToSite;
    @ApiModelProperty("到站网点")
    private String sendCity;
    @ApiModelProperty("签回单")
    private String rewb;
    @ApiModelProperty("运费")
    private BigDecimal freight;
    @ApiModelProperty("操作员")
    private String operation;
    @ApiModelProperty("目的网点")
    private Integer destinationId;
    @ApiModelProperty("上一站网点")
    private Integer priorSiteId;
    @ApiModelProperty("派送费/自提费")
    private Double sendCharge;
    @ApiModelProperty("提货方式")
    private int piceGoodsModeId;
    @ApiModelProperty("收件人")
    private String addressee;
    @ApiModelProperty("收货人电话")
    private String phone;
    @ApiModelProperty("开单件数")
    private Integer ewbPiece;
    @ApiModelProperty("开单重量")
    private BigDecimal ewbWeight;
    @ApiModelProperty("开单体积")
    private BigDecimal ewbVol;
    @ApiModelProperty("配载件数")
    private Integer outPiece;
    @ApiModelProperty("配载重量")
    private BigDecimal outWeight;
    @ApiModelProperty("配载体积")
    private BigDecimal outVol;
    @ApiModelProperty("到货件数")
    private Integer inPiece;
    @ApiModelProperty("到货重量")
    private BigDecimal inWeight;
    @ApiModelProperty("到货体积")
    private BigDecimal inVol;
    @ApiModelProperty("异常件数")
    private Integer abnormalPiece;
    @ApiModelProperty("到货状态")
    private String status;
    @ApiModelProperty(value = "签收人", required = true)
    @TableField("sign_man")
    private String signMan;
    @ApiModelProperty(value = "应收费", required = true)
    @TableField("should_charge")
    private BigDecimal shouldCharge;
    @ApiModelProperty(value = "实收费用", required = true)
    @TableField("actual_charge")
    private BigDecimal actualCharge;

    @ApiModelProperty("托运单下子单")
    private List<HsEwbsStowageSub> subList;

    @ApiModelProperty("总件数")
    private Integer piece;

}
